public class TestCharType {
	public static void main(String[] args) {
		char c1 = 'a';
		char c2 = 'b';
		char c3 = '\n';
		System.out.println(c1);
		System.out.println(c2);
		System.out.println(c3);
		char c4 = 'a';
		int i = c4 + 2;
		char c5 = (char)i;  // 强制转型
		System.out.println(c5);

		//循环打印a-z
		for (int s = 0; s < 26; s++) {
			char t = (char) (c4 + s);
			System.out.print(t);
		}

		
		String str = "abcdefg";
		System.out.print('\n' + str + '\n');

		//boolean
		boolean b = true;
		if (b) {
			System.out.println(b);
		}
	}
}